/*
 * Copyright (c) 2017. Visionet and/or its affiliates. All right reserved.
 * VISIONET PROPRIETARY/CONFIDENTIAL.
 */
package com.visionet.jumper.core.domain.search.enumdata;

/**
 * @author TC.Ubuntu
 * @since 2017/7/10.
 */
public enum JoinType {
	JOIN("join"),
	INNER_JOIN("inner join"),
	CROSS_JOIN("cross join"),
	NATURAL_JOIN("natural join"),
	NATURAL_INNER_JOIN("natural inner join"),
	LEFT_OUTER_JOIN("left join"),
	RIGHT_OUTER_JOIN("right join"),
	FULL_OUTER_JOIN("full join"),
	STRAIGHT_JOIN("straight join"),
	OUTER_APPLY("outer apply"),
	CROSS_APPLY("cross apply");

	public final String name;

	JoinType(String name){
		this.name = name;
	}

	public static String toString(JoinType joinType) {
		return joinType.name;
	}

	public String getName() {
		return name;
	}
}
